home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1997 April: Mac OS SDK / Dev.CD Apr 97 SDK1.toast / Development Kits (Disc 1) / Apple Shared Library Manager / ASLM 2.0.1 Licensing Disk / Sources / ASLMPackages.r < prev    next >
Encoding:
Text File  |  1996-11-19  |  9.6 KB  |  362 lines  |  [TEXT/MPS ]

  1. /*
  2.     File:        ASLMPackages.r
  3.  
  4.     Contains:    All packages used by the ASLM Installer
  5.  
  6.     Copyright:    © 1994 by Apple Computer, Inc., all rights reserved.
  7.  
  8. */
  9.  
  10. /**********************************************************************
  11. ** Icons referenced by packages
  12. ***********************************************************************/
  13.  
  14. resource 'ICON' (ASLMIcon)
  15. {
  16.         $"003F FC00 0040 0200 0020 0400 7FF0 0FFE"
  17.         $"8000 0001 8038 0001 8047 0001 8082 E001"
  18.         $"8111 5001 83FC AFC1 8602 A841 BA02 A841"
  19.         $"B201 6841 B200 1041 B200 0041 B200 005D"
  20.         $"BE00 007D BA00 004D 8200 004D 8208 004D"
  21.         $"8216 804D 8215 405D 8215 4061 83F5 3FC1"
  22.         $"800A 8081 8005 0101 8002 FE01 8000 0001"
  23.         $"807F FE01 8080 0101 8040 0201 7FE0 07FE",
  24. };
  25.  
  26. /*******************************************************************************
  27. ** Top level packages for Easy Install and Custom Install
  28. ********************************************************************************/
  29.  
  30. /*    -----------------------------------------------------------------
  31.     Package to install the EtherTalk Phase 2 file.
  32.     ----------------------------------------------------------------- */
  33.  
  34. resource 'icmt' (pAddEtherTalk) 
  35. {
  36.     SLMReleaseDate,                                    /* Release Date    */
  37.     SLMCustomVersion,
  38.     ASLMIcon,                                        /* Icon ID        */
  39.     "The EtherTalk Phase 2 file is needed when installing onto a"
  40.     " machine that has a minimal System 7.x installed."
  41. };
  42.  
  43. resource 'inpk' (pAddEtherTalk) 
  44. {
  45.     format0 
  46.     {
  47.         showsOnCustom,
  48.         notremovable,                /* Package cannot be removed        */
  49.         forceRestart,                /* Package should force restart        */
  50.         pAddEtherTalk,                /* ICMT ID                            */
  51.         0,                            /* Package size                        */
  52.         "EtherTalk Phase 2 file",
  53.         {
  54.             'infa',    faEtherTalkPhase2;
  55.         }
  56.     }
  57. };
  58.  
  59. #if GENERATING68K
  60.  
  61.     /*    -----------------------------------------------------------------
  62.         System 6 Installation Package.
  63.         ----------------------------------------------------------------- */
  64.     
  65.     resource 'icmt' (pASLMForSystem6) 
  66.     {
  67.         SLMReleaseDate,                                    /* Release Date    */
  68.         SLMCustomVersion,
  69.         ASLMIcon,                                        /* Icon ID        */
  70.         "This installs the Shared Library Manager file"
  71.         " into the System 6 System folder for 68k ASLM support."
  72.         " Two resources are also installed into the System file."
  73.     };
  74.     
  75.     resource 'inpk' (pASLMForSystem6)
  76.     {
  77.         format0 
  78.         {
  79.             showsOnCustom,
  80.             removable,                    /* Package can be removed            */
  81.             forceRestart,                /* Package should not force restart    */
  82.             pASLMForSystem6,            /* ICMT ID                            */
  83.             0,                            /* Package size                        */
  84.             "Apple Shared Library Manager for 68k",
  85.             {
  86.                 'inpk', pShutDownActionAtom;
  87.                 'inpk', pFixFmapActionAtom;
  88.                 'inpk', pASLMSystem6Loader;
  89.                 'inpk', p68kASLMFile;
  90.             }
  91.         }
  92.     };
  93.     
  94.     /*    -----------------------------------------------------------------
  95.         System 7 Installation Package.
  96.         ----------------------------------------------------------------- */
  97.     
  98.     resource 'icmt' (pASLMForSystem7) 
  99.     {
  100.         SLMReleaseDate,                                    /* Release Date    */
  101.         SLMCustomVersion,
  102.         ASLMIcon,                                        /* Icon ID        */
  103.         "This installs the Shared Library Manager file"
  104.         " into the System 7 Extensions folder for 68k ASLM support."
  105.         " One resource is also installed into the System file."
  106.     };
  107.     
  108.     resource 'inpk' (pASLMForSystem7)
  109.     {
  110.         format0 
  111.         {
  112.             showsOnCustom,
  113.             removable,                    /* Package can be removed            */
  114.             forceRestart,                /* Package should force restart        */
  115.             pASLMForSystem7,                /* ICMT ID                            */
  116.             0,                            /* Package size                        */
  117.             "Apple Shared Library Manager for 68k",
  118.             {
  119.                 'inpk', pShutDownActionAtom;
  120.                 'inpk', pFixFmapActionAtom;
  121.                 'inpk', pASLMSystem7Loader;
  122.                 'inpk', p68kASLMFile;
  123.             }
  124.         }
  125.     };
  126.     
  127.     /*    -----------------------------------------------------------------
  128.         A/UX Installation Package.
  129.         ----------------------------------------------------------------- */
  130.     
  131.     resource 'icmt' (pASLMForSystemAUX) 
  132.     {
  133.         SLMReleaseDate,                                    /* Release Date    */
  134.         SLMCustomVersion,
  135.         ASLMIcon,                                        /* Icon ID        */
  136.         "This installs the Shared Library Manager file"
  137.         " into the System 7 Extensions folder for 68k ASLM support."
  138.         " Two resources are also installed into the System file."
  139.     };
  140.     
  141.     resource 'inpk' (pASLMForSystemAUX)
  142.     {
  143.         format0 
  144.         {
  145.             showsOnCustom,
  146.             removable,                    /* Package can be removed            */
  147.             forceRestart,                /* Package should force restart        */
  148.             pASLMForSystemAUX,            /* ICMT ID                            */
  149.             0,                            /* Package size                        */
  150.             "Apple Shared Library Manager for 68k",
  151.             {
  152.                 'inpk', pShutDownActionAtom;
  153.                 'inpk', pFixFmapActionAtom;
  154.                 'inpk', pASLMSystem6Loader;
  155.                 'inpk', p68kASLMFile;
  156.             }
  157.         }
  158.     };
  159.  
  160. #endif
  161.  
  162. #if GENERATINGPOWERPC
  163.  
  164.     /*    -----------------------------------------------------------------
  165.         PowerPC Installation Package.
  166.         ----------------------------------------------------------------- */
  167.     
  168.     resource 'icmt' (pASLMForSystemPPC) 
  169.     {
  170.         SLMReleaseDate,                                    /* Release Date    */
  171.         SLMCustomVersion,
  172.         ASLMIcon,                                        /* Icon ID        */
  173.         "This installs the Shared Library Manager PPC file"
  174.         " into the Extensions folder for PowerPC ASLM support."
  175.         " One resource is also installed into the System file. "
  176.     };
  177.     
  178.     resource 'inpk' (pASLMForSystemPPC)
  179.     {
  180.         format0 
  181.         {
  182.             showsOnCustom,
  183.             removable,                    /* Package can be removed            */
  184.             forceRestart,                /* Package should force restart        */
  185.             pASLMForSystemPPC,            /* ICMT ID                            */
  186.             0,                            /* Package size                        */
  187.             "Apple Shared Library Manager for PowerPC",
  188.             {
  189.                 'inpk', pShutDownActionAtom;
  190.                 'inpk', pFixFmapActionAtom;
  191.                 'inpk', pASLMSystemPPCLoader;        /* Install PowerPC Loader        */
  192.                 'inpk', pPPCASLMFile;                /* Install PowerPC SLM     file    */
  193.             }
  194.         }
  195.     };
  196.  
  197. #endif
  198.  
  199. /**********************************************************************
  200. ** Action atom packages
  201. ***********************************************************************/
  202.     
  203. /*    -----------------------------------------------------------------
  204.     Package to call the ShutDown action atom.
  205.     ----------------------------------------------------------------- */
  206.  
  207. resource 'inpk' (pShutDownActionAtom) 
  208. {
  209.     format0 
  210.     {
  211.         doesntShowOnCustom,
  212.         removable,                    /* Package can be removed            */
  213.         forceRestart,                /* Package should force restart        */
  214.         0,                            /* ICMT ID                            */
  215.         0,                            /* Package size                        */
  216.         "ShutDown Action Atom",
  217.         {
  218.             'inaa',    aaShutDownActionAtom;
  219.         }
  220.     }
  221. };
  222.     
  223. /*    -----------------------------------------------------------------
  224.     Package to call the FixFMap action atom.
  225.     ----------------------------------------------------------------- */
  226.  
  227. resource 'inpk' (pFixFmapActionAtom) 
  228. {
  229.     format0 
  230.     {
  231.         doesntShowOnCustom,
  232.         notRemovable,                /* Package cannot be removed        */
  233.         forceRestart,                /* Package should force restart        */
  234.         0,                            /* ICMT ID                            */
  235.         0,                            /* Package size                        */
  236.         "FixFmap Action Atom",
  237.         {
  238.             'inaa',    aaFixFmapActionAtom;
  239.         }
  240.     }
  241. };
  242.  
  243. /**********************************************************************
  244. ** Packages to install the ASLM Loader resource ('AINI' and/or 'INIT')
  245. ***********************************************************************/
  246.  
  247. #if GENERATING68K
  248.     /*    -----------------------------------------------------------------
  249.         Package to install the the 68k ASLM AINI and INIT resources.
  250.         for System 6 and for a/ux.
  251.         ----------------------------------------------------------------- */
  252.     
  253.     resource 'inpk' (pASLMSystem6Loader) 
  254.     {
  255.         format0 
  256.         {
  257.             doesntShowOnCustom,
  258.             removable,                    /* Package can be removed            */
  259.             forceRestart,                /* Package should force restart        */
  260.             0,                            /* ICMT ID                            */
  261.             0,                            /* Package size                        */
  262.             "",
  263.             {
  264.                 'inra',    raAddAINI32700;
  265.                 'inra',    raAddINIT19;
  266.                 'inra',    raDeleteAINI1;
  267.                 'inra',    raDeleteINIT17;
  268.                 'inra',    raDeleteINIT22;
  269.             }
  270.         }
  271.     };
  272.     
  273.     /*    -----------------------------------------------------------------
  274.         Package to install the 68k ASLM AINI resource for System 7.
  275.         ----------------------------------------------------------------- */
  276.     
  277.     resource 'inpk' (pASLMSystem7Loader) 
  278.     {
  279.         format0 
  280.         {
  281.             doesntShowOnCustom,
  282.             removable,                    /* Package can be removed            */
  283.             forceRestart,                /* Package should force restart        */
  284.             0,                            /* ICMT ID                            */
  285.             0,                            /* Package size                        */
  286.             "",
  287.             {
  288.                 'inra',    raAddAINI32700;
  289.                 'inra',    raDeleteAINI1;
  290.                 'inra',    raDeleteINIT17;
  291.                 'inra',    raDeleteINIT19;
  292.                 'inra',    raDeleteINIT22;
  293.             }
  294.         }
  295.     };
  296. #endif
  297.  
  298. #if GENERATINGPOWERPC
  299.     /*    -----------------------------------------------------------------
  300.         Package to install the PowerPC ASLM AINI resource for PowerPC systems.
  301.         ----------------------------------------------------------------- */
  302.     
  303.     resource 'inpk' (pASLMSystemPPCLoader) 
  304.     {
  305.         format0 
  306.         {
  307.             doesntShowOnCustom,
  308.             removable,                    /* Package can be removed            */
  309.             forceRestart,                /* Package should force restart        */
  310.             0,                            /* ICMT ID                            */
  311.             0,                            /* Package size                        */
  312.             "",
  313.             {
  314.                 'inra',    raAddAINI32702;
  315.                 'inra',    raDeleteAINI3;
  316.                 'inra',    raDeleteAINI32698;
  317.             }
  318.         }
  319.     };
  320. #endif
  321.  
  322. /**********************************************************************
  323. ** Packages to install the Shared Library Manager and
  324. ** Shared Library Manager PPC files.
  325. ***********************************************************************/
  326.  
  327. #if GENERATING68K
  328.     resource 'inpk' (p68kASLMFile) 
  329.     {
  330.         format0 
  331.         {
  332.             doesntShowOnCustom,
  333.             removable,                    /* Package can be removed            */
  334.             forceRestart,                /* Package should force restart        */
  335.             0,                            /* ICMT ID                            */
  336.             0,                            /* Package size                        */
  337.             "",
  338.             {
  339.                 'infa',    faSharedLibraryManager;
  340.             }
  341.         }
  342.     };
  343. #endif
  344.     
  345. #if GENERATINGPOWERPC
  346.     resource 'inpk' (pPPCASLMFile) 
  347.     {
  348.         format0 
  349.         {
  350.             doesntShowOnCustom,
  351.             removable,                    /* Package can be removed            */
  352.             forceRestart,                /* Package should force restart        */
  353.             0,                            /* ICMT ID                            */
  354.             0,                            /* Package size                        */
  355.             "",
  356.             {
  357.                 'infa',    faSharedLibraryManagerPPC;
  358.             }
  359.         }
  360.     };
  361. #endif
  362.